* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
.shopcar {
  width: 100%;
  height: 100vh;
  position: relative;
  .shoptop {
    width: 100%;
    height: calc(100vh - 60px);
    overflow-y: auto;
    .goodsList {
      width: 100%;
      min-height: 600px;
      li.goodsitem {
          width: 100%;
          height: 120px;
          border: 1px solid #ccc;
          display: flex;
          padding: 10px;
        //   align-items: center;
        div.item-left {
            width: 110px;
            height: 100%;
            display: flex;
            align-items: center;
          i{
              color: red;
              font-weight: 800;
          }

          img {
              width: 100px;
          }
        }

        div.item-right {
            width: calc(100% - 110px);
            height: 100%;
            padding-left: 10px;
            font-size: 14px;
          p {
              font-size: 14px;
              margin-bottom: 20px;
          }

          div.item-rb {
              height: 100%;
              width: 100%;
              
              display: flex;
              justify-content: space-between;
            div.rb-left {
              span {
                  color: red;
              }
              s{
                  color: #ccc;
                  margin-left: 10px;
              }
            }

            div.rb-right {
              span.sub {
                  width: 20px;
                  height: 20px;
                  display: inline-block;
                  border: 1px solid #ccc;
                  text-align: center;
                  line-height: 20px;
                  color: #ccc;
              }

              span.num {
                width: 20px;
                height: 20px;
                display: inline-block;
                border: 1px solid #ccc;
                text-align: center;
                line-height: 20px;
                color: #ccc;
              }

              span.add {
                width: 20px;
                height: 20px;
                display: inline-block;
                border: 1px solid #ccc;
                text-align: center;
                line-height: 20px;
                color: #ccc;
              }
            }
          }
        }
      }
    }
  }

  .shopbottom {
    width: 100%;
    height: 60px;
    border: 1px solid #ccc;
    position: absolute;
    left: 0;
    bottom: 0;
    display: flex;
    justify-content: space-between;
    padding-left: 10px;
    font-size: 14px;
    div.b-left {
        display: flex;
        align-items: center;
        i{
            margin-right: 10px;
        }
      
        span {
      
        }
      }
      
      div.b-right {
          display: flex;
          align-items: center;
        div.r-left {
          div.rl-top {
      
          }
      
          div.rl-bottom {
      
          }
        }
      
        div.r-right {
          background: red;
          width: 100px;
          height: 100%;
          text-align: center;
          line-height: 60px;
          margin-left: 10px;
            span {
            font-size: 16px;
          }
        }
      }
  }
}
